#ifndef __LCD1602_H
#define __LCD1602_H

typedef struct
{
	uint8_t lineNum;
	uint8_t position;
	uint8_t size;
	uint8_t buffer[20];
	uint8_t disMod;
} lcd1602DisplayStruct;


#define LCD_LINE1     0X00
#define LCD_LINE2     0X40
#define LCD_LINE_NONE 0XFF

#define LCD_DIS_MODE_NORMAL  0X00
#define LCD_DIS_MODE_ROLL    0X01



void user_Lcd1602SendMail(uint8_t line,uint8_t disMode,uint8_t* buf,uint8_t size);
void user_Lcd1602BackLight(uint8_t rank);
void user_Lcd1602KeyScan(void);
#endif


